package com.chencong.entity;

/**
 * @author chencong
 * @date 2020/12/15 上午10:11
 */
public class Provider {
    private int id;
    private String name;
    private String desc;
    private String contactPerson;
    private String phone;

    public Provider() {
    }

    public Provider(int id, String name, String desc, String contactPerson, String phone) {
        this.id = id;
        this.name = name;
        this.desc = desc;
        this.contactPerson = contactPerson;
        this.phone = phone;
    }

    /**
     * 获取
     * @return id
     */
    public int getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return desc
     */
    public String getDesc() {
        return desc;
    }

    /**
     * 设置
     * @param desc
     */
    public void setDesc(String desc) {
        this.desc = desc;
    }

    /**
     * 获取
     * @return contactPerson
     */
    public String getContactPerson() {
        return contactPerson;
    }

    /**
     * 设置
     * @param contactPerson
     */
    public void setContactPerson(String contactPerson) {
        this.contactPerson = contactPerson;
    }

    /**
     * 获取
     * @return phone
     */
    public String getPhone() {
        return phone;
    }

    /**
     * 设置
     * @param phone
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "Provider{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", desc='" + desc + '\'' +
                ", contactPerson='" + contactPerson + '\'' +
                ", phone='" + phone + '\'' +
                '}';
    }
}
